import { uniFetch } from '@/apis/uni-fetch'


export const getTasksList = (data) => {   // 获取任务列表
  return uniFetch({
    url: '/driver/tasks/list',
    data
  })
}

export const getTasksDetails = (jobId) => {   // 获取任务列表详情数据
  return uniFetch({
    url: `/driver/tasks/details/${jobId}`,
  })
}